package com.wenlin.myproduction.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 文琳
 * @Email 377979485@qq.com
 * @desc
 * @time 2022-12-21 星期三 12:03
 */
public class Get24PointsBean implements Parcelable {
    private int position;
    private List<Integer> list;
    private String first;
    private String second;
    private String third;
    private String fourth;
    private String fifth;
    private String sixth;
    private String result1;
    private String result2;
    private String result3;
    private String firstMethod;
    private String secondMethod;
    private String thirdMethod;

    public Get24PointsBean(int position, List<Integer> list, String first, String second, String third, String fourth, String fifth, String sixth, String result1, String result2, String result3, String firstMethod, String secondMethod, String thirdMethod) {
        this.position = position;
        this.list = list;
        this.first = first;
        this.second = second;
        this.third = third;
        this.fourth = fourth;
        this.fifth = fifth;
        this.sixth = sixth;
        this.result1 = result1;
        this.result2 = result2;
        this.result3 = result3;
        this.firstMethod = firstMethod;
        this.secondMethod = secondMethod;
        this.thirdMethod = thirdMethod;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public List<Integer> getList() {
        return list;
    }

    public void setList(List<Integer> list) {
        this.list = list;
    }

    public String getFirst() {
        return first;
    }

    public void setFirst(String first) {
        this.first = first;
    }

    public String getSecond() {
        return second;
    }

    public void setSecond(String second) {
        this.second = second;
    }

    public String getThird() {
        return third;
    }

    public void setThird(String third) {
        this.third = third;
    }

    public String getFourth() {
        return fourth;
    }

    public void setFourth(String fourth) {
        this.fourth = fourth;
    }

    public String getFifth() {
        return fifth;
    }

    public void setFifth(String fifth) {
        this.fifth = fifth;
    }

    public String getSixth() {
        return sixth;
    }

    public void setSixth(String sixth) {
        this.sixth = sixth;
    }

    public String getResult1() {
        return result1;
    }

    public void setResult1(String result1) {
        this.result1 = result1;
    }

    public String getResult2() {
        return result2;
    }

    public void setResult2(String result2) {
        this.result2 = result2;
    }

    public String getResult3() {
        return result3;
    }

    public void setResult3(String result3) {
        this.result3 = result3;
    }

    public String getFirstMethod() {
        return firstMethod;
    }

    public void setFirstMethod(String firstMethod) {
        this.firstMethod = firstMethod;
    }

    public String getSecondMethod() {
        return secondMethod;
    }

    public void setSecondMethod(String secondMethod) {
        this.secondMethod = secondMethod;
    }

    public String getThirdMethod() {
        return thirdMethod;
    }

    public void setThirdMethod(String thirdMethod) {
        this.thirdMethod = thirdMethod;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.position);
        dest.writeList(this.list);
        dest.writeString(this.first);
        dest.writeString(this.second);
        dest.writeString(this.third);
        dest.writeString(this.fourth);
        dest.writeString(this.fifth);
        dest.writeString(this.sixth);
        dest.writeString(this.result1);
        dest.writeString(this.result2);
        dest.writeString(this.result3);
        dest.writeString(this.firstMethod);
        dest.writeString(this.secondMethod);
        dest.writeString(this.thirdMethod);
    }

    protected Get24PointsBean(Parcel in) {
        this.position = in.readInt();
        this.list = new ArrayList<Integer>();
        in.readList(this.list, Integer.class.getClassLoader());
        this.first = in.readString();
        this.second = in.readString();
        this.third = in.readString();
        this.fourth = in.readString();
        this.fifth = in.readString();
        this.sixth = in.readString();
        this.result1 = in.readString();
        this.result2 = in.readString();
        this.result3 = in.readString();
        this.firstMethod = in.readString();
        this.secondMethod = in.readString();
        this.thirdMethod = in.readString();
    }

    public static final Creator<Get24PointsBean> CREATOR = new Creator<Get24PointsBean>() {
        @Override
        public Get24PointsBean createFromParcel(Parcel source) {
            return new Get24PointsBean(source);
        }

        @Override
        public Get24PointsBean[] newArray(int size) {
            return new Get24PointsBean[size];
        }
    };
}
